//
//  CTFrameParser.h
//  CoreText_iPhone
//
//  Created by mac on 11/13/15.
//  Copyright © 2015 JY. All rights reserved.
//

// 用于生成最后绘制界面需要的 CTFrameRef 实例，用来实现文字内容的排版

#import <Foundation/Foundation.h>
#import "CTFrameParserConfig.h"
#import "CoreTextData.h"

@interface CTFrameParser : NSObject

//+ (NSMutableDictionary *)attributesWithConfig:(CTFrameParserConfig *)config;

+ (CoreTextData *)parseContent:(NSString *)content
                        config:(CTFrameParserConfig *)config;

//+ (CoreTextData *)parseAttributedContent:(NSAttributedString *)content
//                                  config:(CTFrameParserConfig *)config;

//+ (CoreTextData *)parseTemplateFile:(NSString *)path
//                             config:(CTFrameParserConfig *)config;

@end
